近期什么叫股票杠杆,海内外橡胶主产区频繁降雨,对割胶工作形成扰动,导致原料收购价格止跌上扬。据上海钢联,国内各主港进口胶船货到港数量相对不多,持货商暂无明显出货压力,也对价格上行形成了支撑。
什么叫股票杠杆欧欧 欧欧量化
2024年12月18日 08:05 广西
图片
一、指标说明:1、绿横线出现是股价“下降”趋势出现,绿“加速”是继续下降信号,卖出为主,绿横线下方小绿柱是股价下降过程中的卖出信号。2、红横线出现是股价“上升”趋势出现,红“加速”是继续上升信号,买入为主,红横线下方小红柱是股价上升过程中的买入信号。二、副图公式如下:
Q0:=1;
CTA111:=EMA((CLOSE-REF(CLOSE,1))/REF(CLOSE,3),10)*100;
CTA222:=EMA(EMA(EMA(EMA(CTA111,2),2),2),3);
CTA333:=(CLOSE-MA(CLOSE,26))/MA(CLOSE,26)*100;
CTA444:=1;
A555:=IF(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100>0 AND MA(CLOSE,5)>MA(CLOSE,10) AND CTA333>EMA(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,5) AND CTA222>REF(CTA222,1),MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,0);
持股线:=(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100>0 AND MA(CLOSE,5)>MA(CLOSE,10) AND CTA333>EMA(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,5) AND DYNAINFO(17)>0)*A555/3.5,COLORRED;
CTA555:=MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100;
CTA666:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
CTA777:=CTA666+3*STD(CTA666,10);
CTA888:=MA(CLOSE,26)+2*STD(CLOSE,26);
CTA999:=(VOL>0 AND A555>0 AND CTA222>REF(CTA222,1))*EMA(A555,5);
CTA1010:=(VOL>0 AND BARSLASTCOUNT(A555>0)=1 AND CROSS(EMA(CLOSE,2),HHV(EMA(CLOSE,5),26)))*EMA(A555,2);
CTA1111:=(VOL>0 AND BARSLASTCOUNT(A555>0)=1 AND CROSS(EMA(CLOSE,2),HHV(EMA(CLOSE,5),26)))*(-3);
CTA1212:=(VOL>0 AND EMA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),2)>MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4) AND MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4)>REF(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4),1) AND SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100>64.5 AND EMA(CLOSE,1)>(CTA777 OR CTA888))*EMA(A555,5)/2.5,COLORCYAN;
负数现—防下跌:=(持股线-CTA1212),COLORWHITE;{,NODRAW不画该线};
设置线:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,COLORWHITE,LINETHICK2;
CTA4:=(HIGH+LOW+OPEN+CLOSE)/4;
CTA5:=EMA(CTA4,13)-EMA(CTA4,34);
CTA6:=EMA(CTA5,5);
CTA7:=(CTA5-CTA6)*5;
CTA8:=IF(CTA7>=1000,1000,IF(CTA7<=CTA4,CTA4,CTA7));
CTA9:=FORCAST(FORCAST(CTA8,32),10);
CTA10:=(CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13)*(0-100);
CTA11:=EMA(CTA10/10+EMA(CLOSE,13),8);
CTA12:=EMA(CLOSE,3);
CTA13:=EMA(SLOPE(CLOSE,22)*20+CLOSE,45);
CTA14:=IF(PERIOD>8 AND PERIOD<11,MA(CTA13,1),IF(PERIOD=8,MA(CTA13,4),IF(PERIOD=7,MA(CTA13,8),IF(PERIOD=6,MA(CTA13,16),IF(PERIOD=5,MA(CTA13,32),0)))));
CTA15:=CTA14*0.865;
CTA16:=IF(CTA12>CTA14,CTA12,CTA15);
买卖线:=REVERSE(CTA16)+2*CTA9,COLORMAGENTA;
拐点:=IF(EMA((1-CLOSE/SMA(CLOSE,5,1))*100*CLOSE/100+EMA(CLOSE,13),9)<设置线 AND 设置线>买卖线,EMA((1-CLOSE/SMA(CLOSE,5,1))*100*CLOSE/100+EMA(CLOSE,13),9),设置线),COLORRED,LINETHICK2;
逢高卖出:=LLV(MA(HIGH,(3)),1),LINETHICK2,COLORYELLOW;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;
MA55:=MA(C,55);
EXPA:=EXPMA(C,6)COLORRED,LINETHICK2;
M5:=MA(CLOSE,5)COLORWHITE;
M5138线:=MA(C,5)-MA(C,13)+MA(C,8),DOTLINE,COLORCYAN,LINETHICK1;
M52:=MA(M5138线,2),COLORYELLOW,LINETHICK1;
M53:=(M5138线*1.045),COLORYELLOW,LINETHICK1;
M54:=(M5138线*1.090),COLORYELLOW,LINETHICK1;
M55:=(M5138线*1.135),COLORYELLOW,LINETHICK1;
DIF0:=CROSS(C,M5138线),COLORYELLOW,LINETHICK1;
DI:=CROSS(M5138线,M52);
{调整涨停买卖}
C2:=REF(C,1);
普涨停:=(C2*1.1),COLORYELLOW;
创涨停:=(C2*1.2),COLORYELLOW,NODRAW;
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
停:=(涨停,OPEN,CLOSE,1,0),COLORYELLOW;
CTD:=(H/REF(C,1)-1)*100>=9.97,COLORYELLOW;
选股:=CTD AND C<H,COLORWHITE;
杀:=IF(C>CTD,1,0)COLORCYAN;
CTD2:=(H/REF(C,1)-1)*100>=19.97,COLORYELLOW;
杀2:=IF(CTD2,0,1)COLORWHITE;
杀3:=IF(C<普涨停 AND 普涨停>C,1,0)COLORYELLOW;
杀4:=IF(涨停>0,0,1)COLORYELLOW;
{=============================}
CTB_1:=STRCAT(HYBLOCK,3);
CTB_2:=STRCAT(CTB_1,DYBLOCK);
CTB_3:=STRCAT(CTB_2,3);
金牛:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25),COLORYELLOW;
金钻趋势:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,COLORRED,LINETHICK2;
金牛2:=EMA(金钻趋势,25),COLORCYAN,LINETHICK2;
下降趋势:IF(金牛<REF(金牛,1),5,0),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(下降趋势,0.00001),下降趋势+下降趋势*1.0,'下'),COLORGREEN;
DRAWTEXT(CROSS(下降趋势,0.00001),下降趋势+下降趋势*0.4,'降'),COLORGREEN;
DRAWTEXT(CROSS(下降趋势,0.00001),下降趋势+下降趋势*1.0,' 趋'),COLORGREEN;
DRAWTEXT(CROSS(下降趋势,0.00001),下降趋势+下降趋势*0.4,' 势'),COLORGREEN;
上升趋势:IF(金牛>REF(金牛,1),5,0),COLORMAGENTA,LINETHICK2;
XG47:=IF(金牛2>REF(金牛2,1),2,0),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(上升趋势,0.00001),上升趋势+上升趋势*1.0,'上'),COLORMAGENTA;
DRAWTEXT(CROSS(上升趋势,0.00001),上升趋势+上升趋势*0.4,'升'),COLORMAGENTA;
DRAWTEXT(CROSS(上升趋势,0.00001),上升趋势+上升趋势*1.0,' 趋'),COLORMAGENTA;
DRAWTEXT(CROSS(上升趋势,0.00001),上升趋势+上升趋势*0.4,' 势'),COLORMAGENTA;
XG:=IF(L<REF(金钻趋势,1) AND C>M5138线 AND 上升趋势>0,1,0) AND 金钻趋势>M5138线 OR IF(L<REF(金牛2,1) AND XG47>0 AND 上升趋势>0,1,0) AND 金钻趋势>M5138线 OR IF(O<REF(金钻趋势,1) AND 逢高卖出>=拐点 AND M5138线>=M52 AND C>M5138线 ,1,0) AND 金钻趋势>M5138线 OR IF(L<REF(金钻趋势,1) AND 逢高卖出>=拐点 AND M5138线>=M52 AND C>M5138线 ,1,0) AND 金钻趋势>M5138线,STICK,COLORRED,LINETHICK2;
X:=IF(金钻趋势>LOW AND 金钻趋势<HIGH,1,0) AND 金钻趋势>M5138线 AND M5138线>=M52,COLORYELLOW;{黄金钻};
X1:=IF(金钻趋势>LOW AND 金钻趋势<HIGH,1,0) AND 金钻趋势>M5138线 AND EXPA>=M5,COLORYELLOW;{黄金钻};
X2:=IF(金钻趋势>LOW AND 金钻趋势<HIGH,1,0) AND 上升趋势>0 AND MA55>L,COLORYELLOW;
X3:=金钻趋势>LOW AND 金钻趋势>M5138线 AND C>M5138线 AND DIF0,COLORYELLOW;
买:IF(XG AND C>M5138线 AND DI OR X3 AND C>M5138线 AND DI OR X AND C>M5138线 AND DI OR X1 AND C>M5138线 AND DI OR X2 AND C>M5138线 AND DI,4,0),STICK,COLORRED,LINETHICK2;
卖涨3:=O>C AND H>金牛 AND 杀4,COLORRED,LINETHICK1;{H>金牛 AND M53>C AND }
卖涨2:=H>金牛 AND M55>H AND M54>C AND 杀4,COLORRED,LINETHICK1;{H>金牛 AND M53>C AND }
卖涨:=H>金牛 AND M53>C AND 杀4,COLORRED,LINETHICK1;{H>金牛 AND M53>C AND }
卖H:=H>金牛 AND M53>C AND H AND 杀4,COLORYELLOW,LINETHICK1;{H>金牛 AND M53>C AND }
卖C:=H>金牛 AND M53>C AND C AND 杀4,COLORCYAN,LINETHICK1;{H>金牛 AND M53>C AND }
卖2:=H>金牛 AND M53>C AND 杀4,COLORYELLOW,LINETHICK2;{ AND 下降趋势>上升趋势}
卖3:=C>金牛 AND M53>H AND 杀4,COLORCYAN,LINETHICK1;
卖:IF(卖涨 AND 卖H AND 卖C OR 卖2 OR 卖3 OR 卖涨2 OR 卖涨3 AND M52>M5138线,4,0),STICK,COLORGREEN,LINETHICK2;{ OR 卖2 OR 卖3}
{卖在创业版妖股涨停板}
CTD88:=C/REF(C,1)>1.197 AND CLOSE=HIGH;
CTD188:=REF(C,1)/REF(C,2)>1.197 AND REF(CLOSE,1)=REF(HIGH,1);
CTD288:=REF(C,2)/REF(C,3)>1.197 AND REF(CLOSE,2)=REF(HIGH,2);
CTD388:=REF(C,3)/REF(C,4)>1.197 AND REF(CLOSE,3)=REF(HIGH,3);
CTD488:=REF(C,4)/REF(C,5)>1.197 AND REF(CLOSE,4)=REF(HIGH,4);
CTD588:=REF(C,5)/REF(C,6)>1.197 AND REF(CLOSE,5)=REF(HIGH,5);
三:=CTD88 AND CTD188{ AND CTD288 AND CTD388 AND CTD488 AND CTD588};
创停:=H>金牛 AND M55>C AND M54<C,COLORCYAN,LINETHICK1;{H>金牛 AND M53>C AND }
卖HH:=H>金牛 AND M55>C AND M54<C AND H,COLORCYAN,LINETHICK1;{H>金牛 AND M53>C AND }
卖CC:=H>金牛 AND M55>C AND M54<C AND C,COLORCYAN,LINETHICK1;{H>金牛 AND M53>C AND }
卖在创涨停:IF(负数现—防下跌<0 AND 三 AND 创停 AND 卖HH AND 卖CC AND C>=创涨停,4,0),STICK,COLORABCDFF,LINETHICK6;{ OR 卖2 OR 卖3}
DIF88:=CROSS(卖在创涨停,1) AND 上升趋势>0,COLORMAGENTA,LINETHICK1;
DRAWTEXT(CROSS(DIF88,0.00001),上升趋势+上升趋势*1.0,'卖'),COLORABCDFF;
DRAWTEXT(CROSS(DIF88,0.00001),上升趋势+上升趋势*0.4,'在'),COLORABCDFF;
DRAWTEXT(CROSS(DIF88,0.00001),上升趋势+上升趋势*1.0,' 创'),COLORABCDFF;
DRAWTEXT(CROSS(DIF88,0.00001),上升趋势+上升趋势*0.4,' 停'),COLORABCDFF;
{卖在普通版妖股涨停板}
VOLUME:=VOL,VOLSTICK;
放:=VOL>REF(VOL,1)*4;
CTD8:=C/REF(C,1)>1.097 AND CLOSE=HIGH;
CTD18:=REF(C,1)/REF(C,2)>1.097 AND REF(CLOSE,1)=REF(HIGH,1);
CTD28:=REF(C,2)/REF(C,3)>1.097 AND REF(CLOSE,2)=REF(HIGH,2);
CTD38:=REF(C,3)/REF(C,4)>1.097 AND REF(CLOSE,3)=REF(HIGH,3);
CTD48:=REF(C,4)/REF(C,5)>1.097 AND REF(CLOSE,4)=REF(HIGH,4);
CTD58:=REF(C,5)/REF(C,6)>1.097 AND REF(CLOSE,5)=REF(HIGH,5);
六:=CTD8 AND CTD18 AND CTD28 AND CTD38 AND CTD48 AND CTD58;
卖在普涨停:IF(负数现—防下跌<0 AND 放 AND 六 AND M53>C,4,0),STICK,COLORLIBLUE,LINETHICK6;
DIF99:=CROSS(卖在普涨停,1) AND 上升趋势>0,COLORMAGENTA,LINETHICK1;
DRAWTEXT(CROSS(DIF99,0.00001),上升趋势+上升趋势*1.0,'卖'),COLORLIBLUE;
DRAWTEXT(CROSS(DIF99,0.00001),上升趋势+上升趋势*0.4,'在'),COLORLIBLUE;
DRAWTEXT(CROSS(DIF99,0.00001),上升趋势+上升趋势*1.0,' 普'),COLORLIBLUE;
DRAWTEXT(CROSS(DIF99,0.00001),上升趋势+上升趋势*0.4,' 停'),COLORLIBLUE;
DIF2:=CROSS(金钻趋势,金牛2) AND 上升趋势>0,COLORMAGENTA,LINETHICK1;
DRAWTEXT(CROSS(DIF2,0.00001),上升趋势+上升趋势*1.0,'加'),COLORMAGENTA;
DRAWTEXT(CROSS(DIF2,0.00001),上升趋势+上升趋势*0.4,'速'),COLORMAGENTA;
DRAWTEXT(CROSS(DIF2,0.00001),上升趋势+上升趋势*1.0,' 上'),COLORMAGENTA;
DRAWTEXT(CROSS(DIF2,0.00001),上升趋势+上升趋势*0.4,' 涨'),COLORMAGENTA;
DIF4:=CROSS(金牛2,金钻趋势) AND 下降趋势>0;
DRAWTEXT(CROSS(DIF4,0.00001),下降趋势+下降趋势*1.0,'加'),COLORGREEN;
DRAWTEXT(CROSS(DIF4,0.00001),下降趋势+下降趋势*0.4,'速'),COLORGREEN;
DRAWTEXT(CROSS(DIF4,0.00001),下降趋势+下降趋势*1.0,' 下'),COLORGREEN;
DRAWTEXT(CROSS(DIF4,0.00001),下降趋势+下降趋势*0.4,' 跌'),COLORGREEN;
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。图片
END图片
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。